package cn.kshost.zqyg.manager.mapper;

import cn.kshost.zqyg.model.entity.product.ProductSpec;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ProductSpecMapper {
    List<ProductSpec> selectAll();

    void insert(ProductSpec productSpec);

    void updateById(ProductSpec productSpec);

    void deleteById(@Param("id") Long id);
}
